package io.renren.modules.posinfo.dao;

import io.renren.modules.labelhistory.entity.LabelhistoryinfoEntity;
import io.renren.modules.posinfo.entity.PosinfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.posinfo.entity.Utype1Entity;
import io.renren.modules.posinfo.entity.Utype2Entity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2023-02-09 19:07:37
 */
@Mapper
public interface PosinfoDao extends BaseMapper<PosinfoEntity> {

    List<PosinfoEntity> getPosInfo(String mid);

    int saveToUtype_1(Utype1Entity utype1Entity);

    int saveToUtype_2(Utype2Entity utype2Entity);

    int saveToLabelhistoryinfo(LabelhistoryinfoEntity labelhistoryinfoEntity);

    int saveToOriginalPos(Utype1Entity utype1Entity1);
}
